package com.xin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author WYX
 * @create 2020-04-03-9:49
 */
@Controller
public class EncodingController {

    @GetMapping("e1/t1")
    public String test1(String name, Model model){
        model.addAttribute("msg",name);
        return "test";
    }
}
